package com.base.common.sys.dao;

import org.apache.ibatis.annotations.Mapper;

import com.base.common.persistence.BaseMapper;
import com.base.common.sys.entity.SysUserEntity;

@Mapper
public interface UserMapper extends BaseMapper<SysUserEntity> {

	//用户登录
	public SysUserEntity login(SysUserEntity user);

	public SysUserEntity findByName(String username);

	public SysUserEntity findByName(SysUserEntity entity);

}
